package cn.tsoft.drp.sms.utils;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class SmsUtils {

	public static String getValue(String name) 
	{
		Properties properties = new Properties();
		try {
		InputStream in = SmsUtils.class.getClassLoader().getResourceAsStream("parameter.properties");
			properties.load(in);
		} catch (IOException e) {
			e.printStackTrace();
		}
        String value = properties.getProperty(name);
        return value;
	}
	
}
